<?php

set_time_limit(0);

include "includes/mysql.class.php";

include "includes/functions.php";


include "data/vnexpress.php";       





$Fetch = new VNExpress();
$Fetch->GetLink('http://vnexpress.net/gl/suc-khoe/');

$ArrLink = $Fetch->links;

print_r($ArrLink);




/*


//$i=0;

//while($i!=sizeof($ArrLink))

//{	

$Fetch->GetInfo("http://vnexpress.net/gl/xa-hoi/du-lich/2011/03/le-hoi-phao-hoa-da-nang-hut-khach-du-lich/");

	echo $Fetch->title . "<br>";

	//echo "<img src='$Fetch->imgurl'>" . "<br>\n";

	echo $Fetch->intro . "<br><br>\n";

	echo $Fetch->content ;

	$i++;

//} 



                                    

?>